﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
  public class CashBankIn
    {

      public CashBankIn()
      {
          CashBankInDetails = new List<CashBankInDetail>();
      }

      public virtual String NoVoucher { get; set; }
      public virtual DateTime Tanggal { get; set; }
      public virtual COA CashBankAccount { get; set; }
      public virtual String Description { get; set; }
      public virtual IList<CashBankInDetail> CashBankInDetails { get; set; } 

    }


    public class  CashBankInDetail
    {
        public virtual Guid CashBankInDetailId { get; set; }
        public virtual CashBankIn CashBankIn { get; set; }
        public virtual SalesInvoice SalesInvoice { get; set; }
        public virtual COA FromAccount { get; set; }
        public virtual Decimal Debit { get; set; }
        public virtual Decimal Kredit { get; set; }
        public virtual Departemen Departemen { get; set; }
        public virtual Customer Customer { get; set; }
        public virtual String Description { get; set; }
    }
    
}
